import React from 'react';
import SchBox from './SchBox';
import SchProvider from './SchContext';
import './index.css';
const Sch = ({ onSelect, onScreenshotChange, onEventClick, onCheck, data ,handleDelTest}) => {
  return (
    <SchProvider data={data} onScreenshotChange={onScreenshotChange}>
      <SchBox onSelect={onSelect} onEventClick={onEventClick} onCheck={onCheck} handleDelTest={ handleDelTest}/>
    </SchProvider>
  );
};

export default Sch;
